package main;

import model.Database;
import control.DatabaseControl;
import gui.Gui;

public class main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {	
		Gui gui = new Gui();
		Database db = new Database();
		new DatabaseControl(gui, db);
		if(!db.openConnection()) System.exit(1);
		gui.setVisible(true);
	}
	
	

}
